import request from "@/utils/request";

/**
 * @description 首页轮播
 * @param {*} data
 */
export const GetAdvertList = (data) => {
  return request({
    url: "/Api/Advert/GetAdvertList",
    method: "post",
    data,
    showLoading: true,
  });
};
/**
 * @description 首页数据
 * @param {*} data
 */
export const GetPageConfig = (data) => {
  return request({
    url: "/api/Page/GetPageConfig",
    method: "post",
    data,
    showLoading: true,
  });
};

/**
 * @description 首页数据
 * @param {*} data
 */
export const GetConfigV2 = (data) => {
  return request({
    url: "/Api/Common/GetConfigV2",
    method: "post",
    data,
    showLoading: true,
  });
};
